import request from '@/utils/request'

// 查询相亲圈类型列表
export function listXqqType(query) {
  return request({
    url: '/com/xqqType/list',
    method: 'get',
    params: query
  })
}

// 查询相亲圈类型详细
export function getXqqType(id) {
  return request({
    url: '/com/xqqType/' + id,
    method: 'get'
  })
}

// 新增相亲圈类型
export function addXqqType(data) {
  return request({
    url: '/com/xqqType',
    method: 'post',
    data: data
  })
}

// 修改相亲圈类型
export function updateXqqType(data) {
  return request({
    url: '/com/xqqType',
    method: 'put',
    data: data
  })
}

// 删除相亲圈类型
export function delXqqType(id) {
  return request({
    url: '/com/xqqType/' + id,
    method: 'delete'
  })
}

// 导出相亲圈类型
export function exportXqqType(query) {
  return request({
    url: '/com/xqqType/export',
    method: 'get',
    params: query
  })
}
